package com.xframe.domain.e3sp.basedata;

import com.xframe.domain.BaseModel;
import com.xframe.xdal.core.annotation.*;
import com.xframe.xdal.core.constant.AutoFillType;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @Description: 适用车型目录对照
 * @ClassName: com.xframe.domain.e3sp.basedata.CatalogSuitView
 * @Author: lmx
 * @CreateTime: 2024/01/02
 **/
@Data
@Accessors(chain=true)
@XTable(value = "v_t02_catalog_suit", label = "适用车型目录对照")
@XSelectItem(keyName = "keyId",codeName = "suitModelId",textName = "suitModelId")
public class CatalogSuitView extends BaseModel {

    /**
     * 适用车型目录对照ID
     */
    @AutoFill(AutoFillType.Snowflake)
    @XColumn(name = "key_id", primaryKeyFlag = true,desc = "适用车型目录对照ID")
    private Long keyId;

    /**
     * 适用车型ID
     */
    @XQueryCondition
    @XColumn(desc = "适用车型ID",uniqueFlag = true)
    private Long suitModelId;

    /**
     * 备件目录清单ID
     */
    @XQueryCondition
    @XColumn(desc = "备件目录清单ID",uniqueFlag = true)
    private Long catalogId;


    /**
     * 品牌编码
     */
    @XColumn(desc = "品牌编码",length = 200)
    private String brandCode;
    /**
     * 品牌名称
     */
    @XColumn(desc = "品牌名称",length = 200)
    private String brandName;

    /**
     * 品种编码
     */
    @XColumn(name = "variety_code",desc = "品种编码",length = 200)
    private String varietyCode;

    /**
     * 品种名称
     */
    @XColumn(name = "v_name_cn",desc = "品种名称",length = 200)
    private String varietyNameCn;

    /**
     * 车系编码
     */
    @XColumn(name = "series_code",desc = "车系编码",length = 200)
    private String seriesCode;


    /**
     * 车系名称
     */
    @XColumn(name = "series_name_cn",desc = "车系名称",length = 200)
    private String seriesNameCn;

    /**
     * 适用车型编码
     */
    @XColumn(name = "suit_model_code", desc = "适用车型编码",length = 200)
    private String suitModelCode;

    /**
     * 车型四位编码
     */
    @XColumn(name = "sw_code", desc = "车型代号",length = 200)
    private String swCode;
}
